/* eslint-disable no-eval */
/* eslint-disable no-unused-vars */
import React from 'react';
import { Avatar, Card } from 'react-fule-ui';
export default function CssAvatar(props) {
  const path = props.match.path;
  const urlPath = `${props.location.pathname}${props.location.search}`;

  const imgList1 = [
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
  ];
  const imgList2 = [
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
  ];
  const imgList3 = [
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
  ];
  const imgList4 = [
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
  ];
  const imgList5 = [
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
  ];
  const imgList6 = [
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
  ];
  const imgList7 = [
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
  ];
  const imgList8 = [
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
  ];
  const imgList9 = [
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
    'http://p4.music.126.net/e-oDw6PUXNf6zc-1gSeNYw==/109951163135732819.jpg?param=200y200',
  ];
  return (
    <>
      {[...Array(9)].map((item, index) => (
        <Card key={`card-${index}`}>
          <Card.Header>{index + 1}个</Card.Header>
          <Card.Body>
            <Avatar data={eval(`imgList${index + 1}`)} />
          </Card.Body>
        </Card>
      ))}
    </>
  );
}
